package com.jfinalbbs.module.movies;

import com.alibaba.druid.support.logging.Log;
import com.jfinal.aop.Before;
import com.jfinal.aop.Clear;
import com.jfinal.plugin.activerecord.Page;
import com.jfinalbbs.common.BaseController;
import com.jfinalbbs.common.Constants;
import com.jfinalbbs.interceptor.UserInterceptor;
import com.jfinalbbs.module.caruser.Baoyang;
import com.jfinalbbs.module.user.User;
import com.jfinalbbs.utils.DateUtil;
import com.jfinalbbs.utils.ext.route.ControllerBind;
import com.xiaoleilu.hutool.http.HttpUtil;
import com.xiaoleilu.hutool.util.CharsetUtil;

import java.util.Date;
import java.util.List;
import java.util.ListIterator;

/**
 * Created by Tomoya. Copyright (c) 2016, All Rights Reserved.
 * http://jfinalbbs.com
 */
@ControllerBind(controllerKey = "/movei")
@Clear
public class AppmoveiController extends BaseController {

	@Clear
	public void moveiout() {
		System.out.println("进入moveiout");

		Integer currentPage = getParaToInt("currentPage");
		Integer pagesize = getParaToInt("pagesize");
		Page<Movei> c = Movei.me.getmvlist(currentPage, pagesize);
		success(c);
	}

}
